package model;

public class User {
    private String id;         // 用户 ID
    private String password; // 密码
    private String power;    // 权限值（student/Fdy/SuGuan/WuYe/Admin）
    private String name;
    
	// 构造器
    public User() {}

    public User(String id, String password, String power) {
        this.id = id;
        this.password = password;
        this.power = power;
    }

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

   
}
